package com.yupi.springbootinit.model.dto.orders;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * (orders)表添加实体类
 */
@Data
public class OrdersUpdateRequest implements Serializable {

    /**
     * 订单的唯一ID
     */
    @TableId(value = "orderId", type = IdType.AUTO)
    private Long orderId;


    /**
     * 是否需要线下家教
     */
    @TableField(value = "isOnline")
    private Integer isOnline;

    /**
     * 如果需要线下家教，线下家教的地址
     */
    @TableField(value = "offlineAddress")
    private String offlineAddress;

    /**
     * 如果需要线下家教，是否需要报销车费
     */
    @TableField(value = "reimbursementNeeded")
    private Integer reimbursementNeeded;


    /**
     * 上课科目，用逗号分隔
     */
    @TableField(value = "subjects")
    private String subjects;


    /**
     * 授课次数
     */
    @TableField(value = "lessonCount")
    private Integer lessonCount;


    /**
     * 每次课价钱
     */
    @TableField(value = "lessonPrice")
    private Double lessonPrice;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}